package pl.edu.amu.wmi.kino.visualjavafx.model.animation.interpolators;

import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import pl.edu.amu.wmi.kino.visualjavafx.model.objects.path.Path;

/**
 *  <p style="margin-top: 0">
 *    this interpolator is created fr
 *      </p>
 */
// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.BD92DD35-8542-463A-299E-9232E226E8D7]
// </editor-fold> 
public class PathInterpolator implements Interpolation ,java.io.Serializable{

    // Code block for changeListeners support start
    protected PropertyChangeSupport propertySupport= new PropertyChangeSupport(this);
    public void addPropertyChangeListener(PropertyChangeListener listener) {
        propertySupport.addPropertyChangeListener(listener);
    }
    public void removePropertyChangeListener(PropertyChangeListener listener) {
        propertySupport.removePropertyChangeListener(listener);
    }
    // Code block for changeListeners support end

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.3BEDF7C9-477E-0D4A-9E21-3F101CEE74F3]
    // </editor-fold> 
    private Path mPath;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.3A6317AC-759F-2C20-C26E-C0C04AC95030]
    // </editor-fold> 

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.8FEDB700-BE14-E840-7788-DD1D72AE9494]
    // </editor-fold> 
    public PathInterpolator (Path Parent, int coordinate) {
    }

    /**
     *  <html>
     *    <head>
     *  
     *    </head>
     *    <body>
     *      <p style="margin-top: 0">
     *    returns value between startVal and endVal after completing howMuch of it 
     *    - if howMuch is greater than 1 - it treats it as if it would be 1.
     *      </p>
     *    </body>
     *  </html>
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.1DCA7F05-6B99-FC3B-D733-20BBBFBD6A69]
    // </editor-fold> 
    @Override
    public double getValue (double howMuch, double startVal, double endVal) {
        return 0.0;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.E128F0EF-B5C8-6528-9011-7AEC1CE21C78]
    // </editor-fold> 
    @Override
    public double getValueAtTime (double howMuch, double Time, double startVal, double endVal) {
        return 0.0;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.5CDDBB18-A850-A673-C6D2-E1CA640F600C]
    // </editor-fold> 
    private Path getPath () {
        return mPath;
    }
    @Override
    public String getName(){
        return this.name;
    }
    private String name="PATH";

}

